import request from '@/utils/request'

// 查询计价工资标准列表
export function listWageStandard(query) {
  return request({
    url: '/hr/wageStandard/list',
    method: 'get',
    params: query
  })
}

// 查询计价工资标准详细
export function getWageStandard(id) {
  return request({
    url: '/hr/wageStandard/' + id,
    method: 'get'
  })
}

// 新增计价工资标准
export function addWageStandard(data) {
  return request({
    url: '/hr/wageStandard',
    method: 'post',
    data: data
  })
}

// 修改计价工资标准
export function updateWageStandard(data) {
  return request({
    url: '/hr/wageStandard',
    method: 'put',
    data: data
  })
}

// 删除计价工资标准
export function delWageStandard(id) {
  return request({
    url: '/hr/wageStandard/' + id,
    method: 'delete'
  })
}

// 查询计价工资标准列表
export function getList(query) {
  return request({
    url: '/hr/wageStandard/getList',
    method: 'get',
    params: query
  })
}
